package com.yuw.oop;

public class TestDriver02 {
	
	//成员变量
	
	int stuAge;

	
	
	public  void test01() {
		//语句块
		{
		
		//局部变量
		int stuAge =10;
		
		System.out.println("局部变量：stuAge::"+stuAge);
		System.out.println("成员变量：stuAge::"+this.stuAge);
		}
		int stuAge = 11;
		System.out.println("局部变量2：stuAge::"+stuAge);
		
	}

}
